home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 05.zip / BS1 part 5 / SASC_6.0_Disk_4.adf / Compiler_Headers / Include / workbench / startup.h < prev    next >
C/C++ Source or Header  |  1992-07-30  |  1KB  |  42 lines

  1. #ifndef WORKBENCH_STARTUP_H
  2. #define WORKBENCH_STARTUP_H
  3. /*
  4. **    $Filename: workbench/startup.h $
  5. **    $Release: 2.04 Includes, V37.4 $
  6. **    $Revision: 36.3 $
  7. **    $Date: 90/07/11 $
  8. **
  9. **    workbench startup definitions
  10. **
  11. **    (C) Copyright 1985-1991 Commodore-Amiga, Inc.
  12. **    All Rights Reserved
  13. */
  14.  
  15. #ifndef EXEC_TYPES_H
  16. #include "exec/types.h"
  17. #endif
  18.  
  19. #ifndef EXEC_PORTS_H
  20. #include "exec/ports.h"
  21. #endif
  22.  
  23. #ifndef LIBRARIES_DOS_H
  24. #include "libraries/dos.h"
  25. #endif
  26.  
  27. struct WBStartup {
  28.     struct Message    sm_Message;    /* a standard message structure */
  29.     struct MsgPort *    sm_Process;    /* the process descriptor for you */
  30.     BPTR        sm_Segment;    /* a descriptor for your code */
  31.     LONG        sm_NumArgs;    /* the number of elements in ArgList */
  32.     char *        sm_ToolWindow;    /* description of window */
  33.     struct WBArg *    sm_ArgList;    /* the arguments themselves */
  34. };
  35.  
  36. struct WBArg {
  37.     BPTR        wa_Lock;    /* a lock descriptor */
  38.     BYTE *        wa_Name;    /* a string relative to that lock */
  39. };
  40.  
  41. #endif    /* !WORKBENCH_STARTUP_H */
  42.